package com.diaohw.module.metadata.obj.query;

import com.diaohw.module.metadata.obj.Status;
import com.diaohw.platform.common.obj.page.PageDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 元数据信息 DTO
 *
 * @author D-Hw
 * @since 2025-04-07
 */
@Data
@Accessors(chain = true)
@Schema(name = "MetaQuery", description = "元数据信息 DTO")
@EqualsAndHashCode(callSuper = true)
public class MetaQuery extends PageDto {

    /**
     * 名称
     */
    @Schema(description = "名称")
    private String name;

    /**
     * 代码
     */
    @Schema(description = "代码")
    private String code;

    /**
     * 别名
     */
    @Schema(description = "别名")
    private String alias;

    /**
     * 状态
     */
    @Schema(description = "状态")
    private Status status;

    /**
     * 版本号
     */
    @Schema(description = "版本号")
    private String version;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

    /**
     * 是否查询子项
     */
    @Schema(description = "是否查询子项")
    private boolean children;

}
